package com.kuiandjie.service;

import java.util.List;

import com.kuiandjie.dao.LogDao;
import com.kuiandjie.entity.Log;

public class LogService {
	private LogDao dao = new LogDao();
	
	public void inserLog(Log log){
		dao.setLog(log);
	}

	public List<Log> getAllLogByProId(String curpid) {
		return dao.getAllByProId(curpid);
	}
}
